package eerbaar.action.lib;

import eerbaar.action.ActionFactory;
import eerbaar.action.internal.lib.Factory;

public class Module {

    public void onModuleLoad() {

        registerServices();
    }

    public void registerServices() {

        // actions
        ActionFactory.registerAction("addElement", Factory.addElementFactory());
        ActionFactory.registerAction("addPersona", Factory.addPersonaFactory());
        ActionFactory.registerAction("removeElement",
                Factory.removeElementFactory());
        ActionFactory.registerAction("sendMessage",
                Factory.sendMessageFactory());
        ActionFactory.registerAction("setPosition",
                Factory.setPositionFactory());
        ActionFactory.registerAction("displayMessage",
                Factory.displayMessageFactory());
        ActionFactory.registerAction("program", Factory.programFactory());
    }
}
